<!DOCTYPE html>
<!--[if lt IE 7 ]><html class="ie ie6" lang="en"> <![endif]-->
<!--[if IE 7 ]><html class="ie ie7" lang="en"> <![endif]-->
<!--[if IE 8 ]><html class="ie ie8" lang="en"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><html lang="en" xmlns:th="http://www.thymeleaf.org"> <!--<![endif]-->
<head>

    <!-- Basic Page Needs
  ================================================== -->
	<meta charset="utf-8">
	<title>kamisama</title>
	
    <!-- Mobile Specific Metas
  ================================================== -->
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    
    <!-- CSS
  ================================================== -->
  	<link rel="stylesheet" href="css/zerogrid.css">
	<link rel="stylesheet" href="css/style.css">
    <link rel="stylesheet" href="css/responsive.css">
	<link href='./images/favicon.ico' rel='icon' type='image/x-icon'/>

	<!--jq-->
	<script src="js/jquery-3.4.1.js"></script>
    
</head>
<body>
<div class="wrap-body zerogrid">
<!--------------Header--------------->
<header th:include="template::header"></header>
<!--------------Content--------------->
<section id="content">
	<div class="wrap-content">
		<div class="row block">
			<div id="main-content" class="col-2-3">
				<div class="wrap-col">
					<article th:each="blog:${pageInfo.list}">
						<div class="heading">
							<h2><a th:href="@{/showBlog(id=${blog.getId()})}" th:text="${blog.getBtitle()}">博客标题</a></h2>
						</div>
						<div class="content">
							<img th:src="${blog.getBimg()}" style="width:250px;margin: 0 20px 10px 0;padding: 3px;"/>
							<div th:utext="${blog.getBcontent()}" id="bcontent">部分正文内容//部分正文内容//部分正文内容//部分正文内容//部分正文内容//部分正文内容//
							部分正文内容//部分正文内容//部分正文内容//部分正文内容//部分正文内容//部分正文内容//
							部分正文内容//部分正文内容//部分正文内容//部分正文内容//部分正文内容//部分正文内容
							//部分正文内容//部分正文内容//部分正文内容//部分正文内容//部分正文内容//部分正文内容
							//部分正文内容//部分正文内容//部分正文内容//[...]</div>
						</div>
						<div class="info">
							<p>By &nbsp;管理员 &nbsp;on&nbsp;<span th:text="${blog.getCreatetime()}">2021-06-06</span>&nbsp;&nbsp;&nbsp;浏览量：<span th:text="${blog.getPageview()}">0</span></p>
						</div>
					</article>
					<ul>
						当前&nbsp;第 <span th:text="${pageInfo.pageNum}">1</span> 页&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;
						总  <span th:text="${pageInfo.pages}">2</span> 页&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;
						共  <span th:text="${pageInfo.size}">5</span>  条&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;
						<a th:href="@{/findPage(pageNum=1,checkType=${checkType},keyWords=${keyWords})}">首页</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;
						<a th:href="@{/findPage(pageNum= ${pageInfo.hasPreviousPage}?${pageInfo.pageNum}:1,checkType=${checkType},keyWords=${keyWords})}">上一页</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;
						<a th:href="@{/findPage(pageNum= ${pageInfo.hasNextPage}?${pageInfo.pageNum}+1:${pageInfo.pages},checkType=${checkType},keyWords=${keyWords})}">下一页</a>&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;
						<a th:href="@{/findPage(pageNum= ${pageInfo.pages},checkType=${checkType},keyWords=${keyWords})}">尾页</a>
						<span hidden="hidden" id="checkType">0</span>
					</ul>
				</div>
			</div>
			<div id="sidebar" class="col-1-3">
				<div class="wrap-col">
					<div class="box" th:include="template::about"></div>
					<div class="box" th:include="template::type"></div>
					<div class="box" th:include="template::hot"></div>
				</div>
			</div>
		</div>
	</div>
</section>
<!--------------Footer--------------->
<footer th:include="template::footer"></footer>

</div>
<div style="display:none"><script src='http://v7.cnzz.com/stat.php?id=155540&web_id=155540' language='JavaScript' charset='gb2312'></script></div>
</body>
<script th:inline="javascript">

</script>
</html>